<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>


<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/reset.css" />
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/register.css" />
	</head>
	<body>
		<div class="wel" id="git"></div>
		<div class="totop" id="goto">
		<i class="icontop"></i>
	</div>
	    <div class="content" style="    margin-left: 15em;">
	    	<div class="sign">
		
				<form action="${path }/doregister"   method="post">
            <div class="flrg-1">
                <h3>用户注册</h3>
                <div class="a">
                    <input type="text" class="in-1"  name="user_name"  placeholder="您的用户名">
                </div>
                <div class="a">
                    <input type="password" class="in-1"  name="user_password"  placeholder="输入密码">
                </div>
                <div class="a">
                    <input type="text" class="in-1"    name="user_sex"   placeholder="性别">
                </div>
                <div class="a">
                    <input type="text" class="in-1"    name="user_phone" placeholder="输入手机号码">
                </div>
                <div class="a">
                    <input type="address" class="in-1"   name="user_add"  placeholder="输入收货地址">
                </div>
                <div class="a">
                    <button type="submit">注册</button>
                </div>
                  <div class="a">
                  <a href="${path }/tologin">返回登录 </a>
                </div>
            </div>
     
			</form>
		</div>
	    </div>
	</body>
	<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
	<script type="text/javascript">
		var goto = document.getElementById("goto");
    	goto.onclick = function(){
    		var intervalId = setInterval(function(){
    			if(document.documentElement.scrollTop<=0){
    				clearInterval(intervalId);
    			}else{
    			document.documentElement.scrollTop = document.documentElement.scrollTop - 30;
    		    }
    		},1)
    	}

	</script>
</html>









